package io.kimmking.dubbo.common.entity;

public class UserServiceMock implements UserService,OrderService {
    @Override
    public User findById(int id) {
        User user = new User();
        user.setName("UserService服务降级中");
        return user;
    }

    @Override
    public Order findOrderById(int id) {
        Order order = new Order();
        order.setOrderStatus(1);
        order.setOrderCost(0);
        return order;
    }
}
